package com.tuanzi.loan.business.service.settlementsystem;

import com.tuanzi.loan.business.entity.family.ProductInfo;
import com.tuanzi.loan.business.entity.settlementsystem.SettlementProduct;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.settlementsystem.SettlementProductRequest;
import com.tuanzi.loan.vo.response.settlementsystem.SettlementProductResponse;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author caiwanlin
 * @create 2018-08-16 20:02
 */
public interface SettlementProductService extends BaseAuditService<SettlementProduct,Long> {
    Page<SettlementProductResponse> list(PageSearcher<SettlementProductRequest> pageSearcher);

    public List<ProductInfo> getActivityList();

    public List<SettlementProduct> getProductList();

    SettlementProduct findByProductName(String productName);
}
